<div class="content">
    <div class="layui-row layui-col-space24 in_main">
        <div class="layui-col-lg7">
            <div class="layui-card in_item"><a class="add_but" href="{:url('manage/payslip_add')}">立即新建</a></div>
        </div>
        <div class="layui-col-lg2">
            <div class="layui-card in_item2">
                <div class="title">人数</div>
                <h3>{$user_count}</h3>
                <div class="text">
                    <p><span>发送成功：</span>{$success_count}条</p>
                    <p><span>发送失败：</span><span class="color_EF4033">{$error_count}条</span></p>
                </div>
            </div>
        </div>
        <div class="layui-col-lg2">
            <div class="layui-card in_item2">
                <div class="title">金额</div>
                <h3>¥ {$money_total}</h3>
                <div class="text">
                    <p><span>上月金额：</span>{$money_lastmonth}</p>
                    <p><span>总计金额：</span>{$money_total}</p>
                </div>
            </div>
        </div>
    </div>
    <div class="layui-card in_main2">
        <div class="search_box">
            <form class="layui-form layui-clear" action="">
                <div class="layui-form-item select_year">
                    <label class="layui-form-label">年份</label>
                    <div class="layui-input-inline">
                        <select name="year" lay-filter="year">
                            {foreach $years as $year}
                            <option value="{$year}">{$year}</option>
                            {/foreach}
                        </select>
                    </div>
                </div>
                <div class="search_item">
                    <div class="item active" data-value="ygsl">员工数量</div>
                    <div class="item" data-value="sfgz">实发工资</div>
                </div>
            </form>
        </div>
        <div class="in_content">
            <div class="tongji" id="tongji"></div>
        </div>
    </div>
</div>